
<script setup>
import {reactive} from 'vue'
    const obj=reactive([{id:1,name:'apple',message:'dsad'},{id:2,name:'apple',message:'dsad'}])
</script>

<template>
  <ul>
  <li v-for="(item) in obj">
      水果编号:{{item.id}} ---水果名称：{{item.name}} --详细信息：{{item.message}}}
  </li>d
</ul>
</template>

<style scoped>
</style>
